package io.renren.modules.generator.dao;

import io.renren.modules.generator.entity.GongxuDto;
import io.renren.modules.generator.entity.JitaiEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.generator.entity.OrderDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

/**
 * 机台维护
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-07-22 14:08:59
 */
@Mapper
public interface JitaiDao extends BaseMapper<JitaiEntity> {


    List<OrderDto> test(@Param("code") String code,@Param("chejian") String chejian);

    List<GongxuDto> gongxu(@Param("nameb")String nameb);

    void updateSort(@Param("id")Integer id, @Param("sort")Integer sort);

    void kaigong(@Param("id")Integer id, @Param("kaigong")String kaigong
            , @Param("startDate") Date startDate, @Param("finishDate")Date finishDate);
}
